<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>审核管理-合同审核列表页</title>
    <link rel="icon" href="favicon.ico" type="images/ico">
    <meta name="author" content="dc">
    <link rel="stylesheet" type="text/css" href="/css/materialdesignicons.min.css">
    <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="/css/animate.min.css">
    <link rel="stylesheet" type="text/css" href="/css/style.min.css">
    <link href="/js/bootstrap-table/bootstrap-table.min.css" rel="stylesheet"/>
    <!--固定table列-->
    <link href="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.min.css" rel="stylesheet"/>

    <link rel="stylesheet" href="/js/jquery-confirm/jquery-confirm.min.css"/>
    <link rel="stylesheet" href="/css/input_tags.css"/>
    <!--时间选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.css">
    <!--日期选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datepicker/bootstrap-datepicker3.min.css">
    <link rel="stylesheet" href="/js/need/verfont.css"/>
    <!-- 多选下拉 -->
    <link rel="stylesheet" href="/css/bootstrap-multiselect.css" type="text/css"/>
    <link rel="stylesheet" href="/css/bootstrap-select.css" type="text/css"/>
    <link rel="stylesheet" href="/css/skin.css"/>
    <link rel="stylesheet" href="/css/contractReviewManager/contractReviewForm.css">
</head>
<body>
<!--合同审核列表页-->
<div class="container-fluid clue-page">
    <div class="card">
        <div class="card-header">
            <h1>合同审核列表</h1>
            <div class="pull-left" id="modalToggle">
                <a onClick="modalToggle()"><i class="mdi mdi-tumblr-reblog"></i><span>切换模式</span></a>
            </div>
        </div>
        <div class="card-body">
            <!--tab页-->
            <input type="hidden" id="tabNumber" name="tabNumber" value="0">
            <ul class="new-tabs">
                <!-- 全部 会员产品合同 特批产品合同tab切换-->
                <li class="nav-item active">
                    <a href="#" data-toggle="tab" aria-expanded="false" id="allTab" onclick="changeTab('all')">全部合同</a>
                </li>
                <li class="nav-item">
                    <a href="#" data-toggle="tab" aria-expanded="false" id="memberContractTab" onclick="changeTab('member')">会员产品合同</a>
                </li>
                <li class="nav-item">
                    <a href="#" data-toggle="tab" aria-expanded="false" id="specialApprovalContractTab" onclick="changeTab('special')">特批产品合同</a>
                </li>
            </ul>
            <div class="row content-action">
                <div class="col-lg-5 col-md-5 col-sm-5 col-xs-12">
                    <!-- 全部 今天 本周 本月-->
                    <div class="time-search pull-left">
                        <input type="hidden" id="dateType" name="dateType" value="all"/>
                        <div class="all active-second" onclick="selectTime('all')">全部</div>
                        <div class="today" onclick="selectTime('today')">今天</div>
                        <div class="week" onclick="selectTime('week')">本周</div>
                        <div class="month" onclick="selectTime('month')">本月</div>
                    </div>
                </div>
<!--                &lt;!&ndash;按审核状态查&ndash;&gt;-->
<!--                <div class="col-lg-3 col-md-3 col-sm-3 col-xs-12">-->
<!--                    <div class="review">-->
<!--                        <div class="form-check form-check-inline">-->
<!--                            <input class="form-check-input" type="radio" id="reviewStatusAll" value="" name="reviewStatus" checked onclick="reviewStatusChange()">-->
<!--                            <label class="form-check-label" for="reviewStatusAll">全部</label>-->
<!--                        </div>-->
<!--                        <div class="form-check form-check-inline">-->
<!--                            <input class="form-check-input" type="radio" id="notReviewed" value="0" name="reviewStatus" onclick="reviewStatusChange()">-->
<!--                            <label class="form-check-label" for="notReviewed">未审核</label>-->
<!--                        </div>-->
<!--                        <div class="form-check form-check-inline">-->
<!--                            <input class="form-check-input" type="radio" id="underReview" value="1" name="reviewStatus" onclick="reviewStatusChange()">-->
<!--                            <label class="form-check-label" for="underReview">审核中</label>-->
<!--                        </div>-->
<!--                        <div class="form-check form-check-inline">-->
<!--                            <input class="form-check-input" type="radio" id="reviewCompleted" value="2" name="reviewStatus" onclick="reviewStatusChange()">-->
<!--                            <label class="form-check-label" for="reviewCompleted">审核完成</label>-->
<!--                        </div>-->
<!--                    </div>-->
<!--                </div>-->
                <!--普通搜索条件-->
                <div class="col-lg-7 col-md-7 col-sm-7 col-xs-12">
                    <div class="pull-right">
                        <div class="min-search pull-left">
                            <input class="form-control" type="text" placeholder="请输入合同编号" id="contractNumberMin"
                                   name="poolNameMin" autocomplete="off">
                            <button class="btn btn-primary" type="button" id="btn-search-simple">
                                <i class="mdi mdi-magnify"></i>
                                <span>搜索</span>
                            </button>
                        </div>
                    </div>
                    <button class="btn btn-default btn-senior pull-right" data-toggle="collapse" data-target="#filterContent"
                            aria-expanded="false" aria-controls="filterContent" style="margin-right: 20px">高级筛选 &nbsp;&nbsp;<i class="mdi mdi-menu-down" style="font-size:18.5px;"></i>
                    </button>
                    <div class="col-lg-3 col-md-3 col-sm-3 col-xs-12 pull-right">
                        <select class="form-control " id="selectReview" name="selectReview" type="text" title="全部">
                            <option value="">全部</option>
                            <option value="0">未审核</option>
                            <option value="1">审核中</option>
                            <option value="2">审核通过</option>
                            <option value="3">审核失败</option>
                            <option value="4">审核通过并盖章</option>
                        </select>
                    </div>
                </div>
            </div>

            <!--高级搜索条件-->
            <div class="collapse filter-content" id="filterContent">
                <div class="row">
<!--                    <div class="form-group col-lg-2 col-md-2 col-sm-4 col-xs-6">
                        <label for="customerName">客户名称</label>
                        <div>
                            <input class="form-control" type="text" placeholder="请输入客户名称" id="customerName"  name="customerName" autocomplete="off">
                        </div>
                    </div>
                    <div class="form-group col-lg-2 col-md-2 col-sm-4 col-xs-6">
                        <label for="companySelect">所属分公司</label>
                        <div>
                            <select id="companySelect" name="companySelect" class="form-control" data-live-search="true">
                            </select>
                        </div>
                    </div>-->
<!--                    <div class="form-group col-lg-12 col-md-12 col-sm-12 col-xs-12">-->
                        <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                            <label for="contractTypeSelect">合同类型</label>
                            <div>
                                <select id="contractTypeSelect" class="form-control" type="text" data-live-search="true">
                                    <option selected value="">全部</option>
                                    <option value="1">非会员合同</option>
                                    <option value="2">会员新单合同</option>
                                    <option value="3">活动合同</option>
                                    <option value="4">会员续费合同</option>
                                    <option value="5">兑换合同</option>
                                    <option value="6">单品合同</option>
                                    <option value="7">会员单次合同</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                            <label class="control-label" for="companySelect">所属分公司</label>
                            <div id="companySelectDiv">
                                <div>
                                    <select id="companySelect" name="companySelect" class="form-control" data-live-search="true" >
                                        <option value="">请选择所属分公司</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                        <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                            <label class="control-label" for="contractStartDate">合同有效期</label>
                            <div class="form-content input-group">
                                <input type="text" id="contractStartDate" class="form-control date-input" placeholder="请输入起始日期" autocomplete="off">
                                <span class="input-group-addon">至</span>
                                <input type="text" id="contractEndDate" class="form-control date-input" placeholder="请输入截止日期" autocomplete="off">
                            </div>
                        </div>
                        <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                            <label class="control-label" for="contractStartDateStart">合同起始日期</label>
                            <div class="form-content input-group">
                                <input type="text" id="contractStartDateStart" class="form-control date-input" placeholder="请输入合同开始日期" autocomplete="off">
                                <span class="input-group-addon">至</span>
                                <input type="text" id="contractStartDateEnd" class="form-control date-input" placeholder="请输入合同开始日期" autocomplete="off">
                            </div>
                        </div>
                        <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                            <label class="control-label" for="contractEndDateStart">合同截止日期</label>
                            <div class="form-content input-group">
                                <input type="text" id="contractEndDateStart" class="form-control date-input" placeholder="请输入开始日期" autocomplete="off">
                                <span class="input-group-addon">至</span>
                                <input type="text" id="contractEndDateEnd" class="form-control date-input" placeholder="请输入结束日期" autocomplete="off">
                            </div>
                        </div>
                        <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                            <label for="userSelect">所有人</label>
                            <div>
                                <select id="userSelect" name="userSelect" class="form-control" data-live-search="true">
                                </select>
                            </div>
                        </div>
<!--                    </div>-->
<!--                    <div class="form-group col-lg-12 col-md-12 col-sm-12 col-xs-12">-->
                        <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                            <label class="control-label" for="createTmStart">合同创建日期</label>
                            <div class="form-content input-group">
                                <input type="text" id="createTmStart" class="form-control date-input" placeholder="请输入起始创建日期" autocomplete="off">
                                <span class="input-group-addon">至</span>
                                <input type="text" id="createTmEnd" class="form-control date-input" placeholder="请输入截止创建日期" autocomplete="off">
                            </div>
                        </div>
                        <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                            <label class="control-label" for="reviewStartTime">合同审核日期</label>
                            <div class="form-content input-group">
                                <input type="text" id="reviewStartTime" class="form-control date-input" placeholder="请输入起始审核日期" autocomplete="off">
                                <span class="input-group-addon">至</span>
                                <input type="text" id="reviewEndTime" class="form-control date-input" placeholder="请输入截止审核日期" autocomplete="off">
                            </div>
                        </div>
                    <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                        <label class="control-label" for="reviewerSelect">审核人</label>
                        <div>
                            <div>
                                <select id="reviewerSelect" name="reviewerSelect" class="form-control" data-live-search="true" >
                                    <option value="">请选择审核人</option>
                                </select>
                            </div>
                        </div>
                    </div>
                        <div class="form-group col-lg-2 col-md-2 col-sm-8 col-xs-6 col-xs-offset-4">
                            <label>&nbsp;</label>
                            <div class="text-right">
                                <button class="btn btn-primary" type="button" id="btn-search">
                                    <i class="mdi mdi-magnify"></i><span>搜索</span>
                                </button>
                                <button class="btn btn-default" id="btn-reset">重置</button>
                            </div>
                        </div>
<!--                    </div>-->
                </div>
            </div>
            <table id="contractReviewTableList" style="min-width: 100%;"></table>
        </div>
    </div>
</div>
<!--合同审核弹窗-->
<div class="modal right fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="static">
    <div class="modal-dialog">
        <div class="modal-content"> </div>
    </div>
</div>
</body>
<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/js/perfect-scrollbar.min.js"></script>
<script type="text/javascript" src="/js/main.min.js"></script>

<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table-zh-CN.min.js"></script>
<!--table固定列-->
<script type="text/javascript" src="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js"></script>

<script type="text/javascript" src="/js/popper.min.js"></script>
<script type="text/javascript" src="/js/jquery.cookie.min.js"></script>
<script src="/js/crm/common/input-tag.js"></script>
<script src="/js/crm/common/common.js"></script>
<!--日期选择插件-->
<script src="/js/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>
<script src="/js/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js"></script>
<script src="/js/verSelect.2.0.js"></script>
<!-- 多选框下拉 -->
<script type="text/javascript" src="/js/bootstrap-multiselect.js"></script>
<script type="text/javascript" src="/js/bootstrap-select.js"></script>
<script type="text/javascript" src="/js/bootstrap.lyear.dropdowntree.min.js"></script>
<!-- 拖动 -->
<script src="/js/bootstrap-table/extensions/resizable/bootstrap-table-resizable.min.js"></script>
<script src="/js/crm/common/colResizable-1.6.min.js"></script>
<!--公司、人员级联下拉公共js-->
<script src="/js/crm/common/companyUserSelect.js"></script>
<!-- 子页面公用js -->
<script src="/js/crm/common/pageCommon.js"></script>
<!--自定义js-->
<script src="/js/crm/contractReviewManager/contractReviewForm.js"></script>
</html>